Added JS string methods