Fixed doom function binding bug and transformed js module [#131]