mvc family tree with raphaeljs