fixed the main.js file
Merge branch 'local_storage' into gh-pages