JEM2.x is using version 2.20 so it's not up to date but the code at Github is seperated in several files. Basicly the current script that JEM2 uses will work but thing it would be good to update. Maybe not all of it is required but well.. just an idea.
// for myself i'm integrating it in my own custom JEM version, this as i do think it's usefull.