Moved proxy.js into lib