Check if Google Analytics code is present before put javascript code