mruby to Javascript translator