Added support for javascriptnext.