Monkey patching Ruby to make it Javascript