recycled input_injector api from node-webkit version