Refactor Message.js draging, set up local d3 lib.