Remove some un-used javascript