Common resource functions
(obj->clj obj)
js->clj does not work for objects with custom ctors
(profile f)
(run c f)