Enable client global js var GLOBAL_ENV_MODE.