fix travis js tests error 2