rickshow graph now displays data from db
added rickshaw css
moved graph logic out of view and into js