removed code from .html into .js

also removed some unneeded functions
removed code
Merge pull request #3 from MichaelHilton/master

move changes to markup tool