Added the responsive option to the chart so that it renders properly on high resolution screens.
Moved the friend logic to a new file and renamed functions accordingly. Also added a call on page load to the calculateLayout function.
Moved the layout calculating layout to friend.js.coffee.
Moved functions to this file related to getting and charting friend data.
Removed width and height attributes from the canvas tag.