fixes #518 - queued events graph now uses jsonapi
Merge pull request #524 from flapjack/518_event_queue_graph_javascript

fixes #518 - queued events graph now uses jsonapi