JavaScript is needed to remember which scenes you’ve seen.