changed jquery cdn and removed some vestigal code