refactor(d3-ext.backgroundcolor.js) Refactoring the working of background-color