Added .editorconfig file
Added .jshintrc file
Fixed jshint related errors; added jsdoc style comments