proxy to facilitate replacing sites' js with user-supplied scripts