Travis CI support, JSLint tests, JS code fixes & formatting