T-Rex jQuery reference fix and table alignment