Implement condensing for requirejs plugin