There's only static content so apparently the correct place for the code is **js/lib/upgrades.js** rather than **views/default/js/upgrades.php**? Is this correct?

What namespace should be used for the functions:
- elgg.upgrades
- elgg.admin
- elgg.admin.upgrades