Change client side socket to listen on heroku URL.
Change method used to connect to socket to io.connect, change hostname to fetch from window.