Got rid of remote option for proxy; Added error listener to xhr to print out error msg