fix travis js tests error 7