clean up

this was removing comments from js and removing uneeded js in pages.
Moved js actions to new url to a tag for buttons.