Issue #2840311 by idefix6, chaitanya17: Using javascript compression (jsmin with e.g. advagg) breaks the plugin