DSC-848 Fix some issues around amber actually being written to.

I think the delete function is only called through ajax.  So the js in the view will get an error response and should handle that gracefully. The Exception is caught at 641 in JobsController above and rethrown as a json error