Fix error with story_closed function
Updated page.js