Google Analytics

Added Google Analytics snippet and cleaned up jQuery functions