support coffee script for grunt build, remove duplicate build main.js