Add a way to globally keep references on modules loaded by requirejs