update coffee-script ,add .editorconfig and fix mongo.js bugs