Added support for JS files.