Fixed Issue #1: 'Javascript bug in the interactive poem'

Fix for Issue #1, 'Javascript bug in the interactive poem'