HPCC-10067 Minor JavaScript Error/Warnings

toggleAllSelection is no longer valid.
namedResults should be an object not an array.

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>