Added some Javascript support.