Set up travis ci and js test framework