Updated to d3.v3 and added a condition function to dvl.register

Thought condition function could be useful Please check this out!