JS-SDK not compliant with localStorage polyfill

I included the info + a pull request with a fix here :

Hi Shai,

We’ll accept your pull request as soon as possible.
Thanks, for your contribution.

Regards, Ilya