Moved js files in js directory
- Using RequireJS

- Cleaning: each class gets its own module
- Fixed some JSHint issues