Improved js check, only update "loading.png" if element place holder exists.
Improved js check, only update "loading.png" if element place holder exists.

otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs