Corrections from jshint report