WICKET-5564 AjaxRequestTarget.focusComponent() does not work when two Ajax responses arrive next to each other

Minor simplifications:
- use local variable for namespaced lookups
- simplify checks for truty values
- fix typos