updates according to jshint