Update Graph.Plot.js

Make on{Before,After}Plot{Node,Edge} callable always. Pass in a flag indicating whether its animating or not.