lightweight Javascript scene graph for use with canvas