Update media.js

fix https://github.com/modxcms/evolution/issues/301