few tweaks to see no issues in jshint