Make global URL variable on home event.

globalURL is use for switch between domain quickly