Fix global scope issue when working with noConflict