Fixed bug when doing document.body.appendChild(ga);