Add ability to rewrite JS files.