Add ability to do custom rewrite of JS files.