cleaned up a bunch of the javascript. Getting this looking a bit nicer... noop change