refactoring code and import module loading using requirejs.
pythonjs.py can now rengerate new runtime `pythonjs.js`