Fix the demo, make it work with Polymer 0.2.4

Update for Polymer 0.2.4, use domReady lifecycle callback to be sure that we have where to render the graph.