The problem caused by accessing $('artefactchooser-body') on the page that does not have this block, as result of JS error, formStopProcessing is not being called, thus 'Loading' remains on the page.
The problem caused by accessing $('artefactchoo ser-body' ) on the page that does not have this block, as result of JS error, formStopProcessing is not being called, thus 'Loading' remains on the page.