require([ 'config' ], function() {
  var getUrlArgs = function() {
    var search = document.location.search || '';
    if (search.indexOf('?') === 0) {
      search = search.substring(1);
    }
    return search;
  };
  require.config({
    deps : [ 'js/app' ],
    paths : {
      'js/app' : 'app'
    },
    urlArgs : getUrlArgs()
  });
});

@@ -68,149 +68,103 @@
     
-var search = document.location.search %7C%7C '';%0A    if (search.indexOf('?') === 0) %7B%0A      search = search.substring(1);%0A    %7D%0A    return search
+if (window.jsVersion === undefined) %7B%0A      return '';%0A    %7D%0A    return 'v=' + window.jsVersion
 ;%0A  

Update urlArgs support for production build