Adding the proxy as a preStateCrawlingPlugin in order to get the all the JavaScript code.