Changes made according to jshint
Changes from new (optional) hinting task