Refactors load.js into management-console.js.