back out to amd-ized dc.js 1.6.1, which works
re-apply Bart's fixes

(really these need to be verified and ported to dc.js proper)