Added doc on contributing
Added _debug helper function
Comments for intro.js
Refactored comments to conform to style guideline