added bower support
use D3 time utils