Small utility to manage proxy usage in your js code