Chart as a CommonJS module