Convert the CCA barplot into a jquery widget plugin.