Some ugly modification to the Bramp's (http://bramp.net/blog/) library called hessian.js (https://github.com/bramp/hessian.js), so it can run in browser instead of node.js