populate fields will not have effect on select fields as supported by Mongoose
- corrected JSHINT errors