Reverting a few problems. Also, vis.selectAll('text') may be messing with multiple div goings-on.