I guess there are some interesting results as a result of this effort:
* Javascript can be used to program these things and is quite capable of handling low-level kind of stuff
* Since it's easier to write js code than c/c++ code (for me), I would personally prefer it; assuming that the performance degradation is within allowable limits