corrected error in poet.js that should not have been checked in. correction of: modifications to add and correct failing tests. include a rawPreview when a preview property is not provided.