Replaces static array assignment with stackoverflow solution to retrieve the recent history
http://stackoverflow.com/questions/15803444/how-to-query-cosm-json-feed-using-the-cosm-javascript-library

-Adds javascript object getHistory
Replaces staticly assigned graph uri with variables