Adding googleLoaded function to scripts.