Remove hard coded url in main.js