I was able to get everything working by commenting out the line that gets self.page from localStorage, but I'm sure that shouldn't be necessary!