//define console if not defined already
if (typeof (console) === 'undefined') {
    //need to define console
    console = new Object();
    consolehistory = new Array();
    console.log = function() { consolehistory.push(["log", arguments]) };
    console.debug = function() { consolehistory.push(["debug", arguments]) };
    console.info = function() { consolehistory.push(["info", arguments]) };
    console.warn = function() { consolehistory.push(["warn", arguments]) };
    console.error = function() { consolehistory.push(["error", arguments]) };
}

$(function(){
    //unhide anything that should be hidden if no js
    $('.no-js').removeClass('no-js');

})

