Separate js from main.js; Change pie chart color