added comment to poem.js to explain looping behavior