Add ability to do custom rewrite of JS files.
Merge pull request #19 from vonrosen/ari-3762

Add ability to do custom rewrite of JS files.