cleanup requirejs dependencies