Node.js: Server/Client now waits for webserver to complete load before redirect