JS error if an available update is marked critical (Fixes #619)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
JS error if an available update is marked critical (Fixes #619)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>