fixed the javascript to return to loop through the poem