Removed jquery dependency for GA code; reformat

Major reformat (tabs are two spaces please)