VID-924 updating js code to be more easily changed by user js
Merge pull request #1741 from Wikia/VID-924-harrypotter-upload-photos-error-2

VID-924 updating js code to be more easily changed by user js