Add global var for requirejs case