#116 Added functions getJavascriptErrors() and assertNoJavascriptErrors()