remove unneeded jquery plugins and some cruft