Made ViewController the webView's delegate so that the test evaluation of JavaScript functions can fire after the webview is done loading.  Previously, this wasn't working because the tests were firing too early.