Update media.js

fix https://github.com/modxcms/evolution/issues/301
Merge pull request #303 from Pathologic/patch-3

Update media.js