Removed git conflict resolution text; Style changes

Move GA snippet to top of script so that it only executes once,
regardless of how many google-analytics elements are used; Use ready
event instead of created to ensure that page is fully loaded.