Changing the timeout to reference this instead of self as self is undefined and this has the id, and additionally moving the loading to the new div name since it has been renamed.