jshint edits - not yet passing though