Why did you decide to go with this instead of a cross platform scripting language like Python, Ruby, or Perl? In both cases you need a custom runtime compiled from C or C++ code.
Coincidentally, it's nice to see JavaScript being used for a much larger variety of tasks. I think it's a very underrated language.