Fix to order of JS in update page, to prevent errors in Firefox.
Merge pull request #712 from jamalex/download_fixes

Fix to order of JS in update page, to prevent errors in Firefox.