Fix first load not showing anything

For people without the initial localstorage it would break, now it
doesn't.