Fix for comment reply picking text twice and jshint fixes