Ensure that we do not get stuck in an inifinite loop. Thanks to KillerJohn for pointing this out.
Merge branch 'master' of https://github.com/peters/d3ui