fixed enqueue bug: mimetype was added with apexes - reduced js vars