few changes of mod_jem_wide, related to Issue #102

made a few changes for mod_jem_wide