/*!
* ui.js
* Copyright Mathias Bynens
* Modified by John-David Dalton
* Available under MIT license
*/
(function(window, document) {
/** Java applet archive path */
var archive = '../../nano.jar';
/** Cache of error messages */
var errors = [];
/** Google Analytics account id */
var gaId = '';
/** Cache of event handlers */
var handlers = {};
/** A flag to indicate that the page has loaded */
var pageLoaded = false;
/** Benchmark results element id prefix (e.g. `results-1`) */
var prefix = 'results-';
/** The element responsible for scrolling the page (assumes ui.js is just before