[keyboard.js] Fix call of "global.current_event_time" function.

I found a function call that produces JS Log errors.