add gosquared code to analytics widget

@bbauer can you review. Sorry for all of the lines with just formatting changes. Bad Rubymine.