fixes #9 , removing global from proxy.js

Thanks!