Add social buttons and google analytics

also remove trailing spaces