Adding additional checks in doctor/dev.js and updating contributing.md
Merge pull request #2782 from moizjv/fix-2752

Adding additional checks in doctor/dev.js and updating contributing.md