add checkbox to select all visible items

also fix some JS bugs
Merge branch 'TIDO' of https://github.com/FNNDSC/chrisreloaded into TIDO