Added support for JS submissions