Move Google analytics js to its own file
Refactor the core function
Changed version number