fixed jshint errors; made rb method length more liberal [no ci]