js/search: Don't link on results table headers

This increases the specificity of the results table click callback so
that it only triggers when the user clicks on a table row from with the
tbody tag. This prevents clicking on the table header row from directing
the user to '/record/undefined', throwing a 500 internal error.

Issue #244.
Merge branch 'issue/244'