Move GA click event into js files