Upgraded build system to use only one run.js file

amoung other tweaks.
Merge pull request #221 from agrc/build

Upgraded build system to use only one run.js file