moved $ui require to Admin.js