update proxy.js so can proxy any siate