Edit in JSFiddle

// The AddOnLoadJavaScript call to main seems to be have a race issue with requireJS in Firefox.
// Added the setTimeout wrapper (250 milliseconds) to workaround this issue.

setTimeout(function(){

	if (typeof requirejs !== "undefined") {

		// Page/App specific paths;
		requirejs.config({ 
				paths: {
					/* Using non-standard name because 1.6.2 is not AMD compliant whereas
					* later versions are compliant. Don't want conflict with later version
					*/
					'csk-oj-gauge-viewmodel':getScriptUrl('CSK_OJ_GAUGE_VIEWMODEL_JS')
				}
    
		});

		require(['jquery', 'knockout', 'csk-oj-gauge-viewmodel'], function (JetCSKJQ, ko, appViewModel) {    

			jqOJGauge = JetCSKJQ;
			var cskAltaPath = cskBowerCompsPath + '/oraclejet/dist/css/alta/';

		    // Inject Alta CSS;	
			cskLoadCSS(cskAltaPath + 'oj-alta-notag-min.css');
	
			jqOJGauge(document).ready(function(){
				// Apply Knockout Bindings;
				cskKO = ko;
				cskVM = new appViewModel(%BIND(:1));
				cskKO.applyBindings(cskVM);
			});

			cskOJKORefresh = function () {    

				jqOJGauge(document).ready(function(){

					// Refresh the knockout binding(s) after server trip;
					jqOJGauge(document.getElementById('CSK_PERCENT')).unbind();
					cskKO.cleanNode(document.getElementById('CSK_PERCENT'));		
				    cskKO.applyBindings(cskVM,document.getElementById('CSK_PERCENT'));	 
				});
			};

		});

	}

}, 250);