travis: build test js before testing