public/js/spike.js
function (rawData) {
        var data = stringify(rawData);
        if (useSS) {
          sessionStorage.spike = data;
        } else {
          window.name = data;
        }
        return data;
      }
function (rawData) {
        var data = stringify(rawData);
        if (useSS) {
          sessionStorage.spike = data;
        } else {
          window.name = data;
        }
        return data;
      }
function ( rawData ) { var data = stringify ( rawData ) ; if ( useSS ) { sessionStorage . spike = data ; } else { window . name = data ; } return data ; }
Save data to SS or window.name
Save data to SS or window . name