Handling compress/uncompress JS, use JHtml API to load new media
Implements https://github.com/betweenbrain/Joomla-Ajax-Interface/commit/1982832ab4fe8d0bf60a5d1384c1980418f2c31f to add support for modules with underscores in their names