style: review jshint friendly code.