Fixed browser local storage support bug

Also repaired Grunt setup