Defined 'main' file in package.json.
Ported run.js.