Show error message in task table if fetch returns error

Previously the task table would show "Loading..." permanently if the
server returned an error.
Re-compile JS for task list errors