some jquery fixes