Only include sessionstorage if in a browser
Run tests in node-qunit