Minor code cleanup to storymap.js.