Adding .jshintrc
Moving reply logic