Fix bug introduced in previous media refactor

Also removed unused js "jquery.url.packed.js"

Conflicts:
	locking/admin.py