Fix a javascript error that occurs while loading the Upload package page...

..., which happens because the script bundle was loaded after topscripts. Fixes #964