Update IndexView.js

Updated with latest changes for proxy (use of GET with proxy)