Fix travis for JS tests