Fix for balanced js

this moves to a structure of requiring specific javascript files per page.  Also moves my payments js into it's own tree.