Expanded build configuration

- Added jslint for codestyle checking
- Fixed number of issues in the sources to make jslint pass
- Added travis build configuration