Use inline function declaration

Correct me if I'm wrong, but I don't see a reason to call `handle()` on pageload, because nothing should be there. In that case, there is no need for the `handle()` function to be explicitly declared and you can just declare it inside of the event listener.