fixed poem.js to restart after last line.