explicit this binding

Fixes #2307 although it more "addresses" than "fixes" since nothing was broken. This binds the context for the onready function to always be the element itself (as event listener that already happens, but the direct call we have in place most certain doesn't). So now the `this` inside the function will always be the element itself.