fixes & updates

- reverted criteria.js to old version after it broke.
- updates to results-plantype.js