hint codes by jshint.