update to goog anal js and clean up js at bottom of page