Removed some of the javascript