Added checks for dependencies: d3, d3.tip and crossfilter.