Refactoring: Created static method.
Added cleaning up for functional keys.
Tests: Ignored and referenced test to ticket
Restored input workaround for IE.