Legacy code is now using requirejs for dependencies