JumpScroll: safer code

* ffi.os -> jit.os
* obtain window handle at the first run of the macro