Remove all remaining globals from 'shared/js' using requirejs 'shim' config