Removing unneeded JS fluff. Still need to fix firefox (at least).