try to fix JS tests in travis