fix travis js tests error 4