cleaned up testrb.js a bit
cleaned up rb.js a bit