added string prototype for chrome