fix web ui fatal errors

Fixes #611 #614 #613 
Yes, unless the check is stale and last updated in an older version of flapjack.