JMVC.purge rewritten