Update JS interface for working with key input objects.
Add a more js-native approach to use 'document.createElement('input')' in order to create a text input object.
Added 'value' storage for key input
Added event bindings