Control generator for requirejs works