[Engine] Support custom js event regarding state change of softkeyboard(ime)