Refactor: Move jQuery file upload onto edit page

Only load the jQuery file upload code when we're
in the edit partial, because that's the only
time we need it.