Removed some unused JS stuff