Web view set up to connect to Rails upon connection