Temp file for testing the code on browser
Detect the presence of localStorage global object in the browser