renames areAllUsersReady to allUsersAreReady in Table and puts brackets on the call
converts Result to AMD module and refactors