added comment to poem.js to explain looping behavior

Just leaving a comment explaining the looping behavior as requested.