jshint
updated with new ui