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

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