JS optimizations
Update localStorage methods behavior
Remove old vars, update download function
Merge pull request #9 from onaliugo/master

JS optimizations