fix travis js tests error 6