jslint and other fixes
Add travis CI