Finally got requirejs to work and play nice with others. Got rid of my home grown solution and converted to require.