Add ability to rewrite JS files.
Remove decoding for https://webarchive.jira.com/browse/ARI-3680
Merge pull request #20 from vonrosen/ari-3680

For https://webarchive.jira.com/browse/ARI-3680.