fix jquery errors for travis?