removing the bad jquery usage