keyPressHandlerRegistration.removeHandler();
keyPressHandlerRegistration = null;
keyPressJs = js.trim();
if(!keyPressJs.isEmpty())
{
keyPressHandlerRegistration = super.getTextBox().addKeyPressHandler(new KeyPressHandler() {
@Override
public void onKeyPress(KeyPressEvent event) {
VkStateHelper.getInstance().getEventHelper().executeEvent(keyPressJs, event, true);
}
});