fixed some jquery stuff