Marjor refactoring of the code

- Removed everything about authorization
- Commented all js files!
- Refactored js files for readability
- Fixed all js files to have 0 errors from jshint
- Removed the old folder 'html' and all files in it
- updated bower.json and package.json