Added attempt to FFI to javascript for events like mouse move