added string polyfill js