{"action":"closed","issue":{"url":"https://api.github.com/repos/okgrow/meteor-persistent-session/issues/22","labels_url":"https://api.github.com/repos/okgrow/meteor-persistent-session/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/okgrow/meteor-persistent-session/issues/22/comments","events_url":"https://api.github.com/repos/okgrow/meteor-persistent-session/issues/22/events","html_url":"https://github.com/okgrow/meteor-persistent-session/issues/22","id":62716346,"number":22,"title":"ReferenceError: EJSON is not defined","user":{"login":"hansvn","id":3542686,"avatar_url":"https://avatars.githubusercontent.com/u/3542686?v=3","gravatar_id":"","url":"https://api.github.com/users/hansvn","html_url":"https://github.com/hansvn","followers_url":"https://api.github.com/users/hansvn/followers","following_url":"https://api.github.com/users/hansvn/following{/other_user}","gists_url":"https://api.github.com/users/hansvn/gists{/gist_id}","starred_url":"https://api.github.com/users/hansvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansvn/subscriptions","organizations_url":"https://api.github.com/users/hansvn/orgs","repos_url":"https://api.github.com/users/hansvn/repos","events_url":"https://api.github.com/users/hansvn/events{/privacy}","received_events_url":"https://api.github.com/users/hansvn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-18T15:04:27Z","updated_at":"2015-04-01T18:06:32Z","closed_at":"2015-04-01T18:06:32Z","body":"When I have a persistent session and I reload the page (in the browser) I get this error:\r\n```javascript\r\nReferenceError: EJSON is not defined\r\nhttp://localhost:3000/packages/u2622_persistent\r\nsession.js?03927d2509d2090e602b20a2b17c4c8399b28d8a\r\nLine 100\r\npsVal = EJSON.parse(Session.store('get', key));\r\n```\r\n\r\nI think this has to do with the package trying to load and parse the session vars before EJSON is loaded."}}