To avoid re-rendering of the table row when clicked

This avoids angular's digest and add/remove class manually using jQuery.