Rainman bindings for Javascript