Bug fix: 'load' event was being issued on the wrong object