[core][js] extended JS types: add apostrophes for islower() and isupper() to have same behavior as Python