Fix bug introduced in previous media refactor

Also removed unused js "jquery.url.packed.js"
Bump version to v2.2.4