swiping out js code prepared for the EntityRelationship task