Function to convert API dates to Javascript timestamps. Add dummy graph

Added a function to convert the API dates to a javascript timestamp
that flot would like to consume in order to plot graph. Also added a
dummy graph.