https://issues.apache.org/jira/browse/MYFACES-3512 fixing firefox 3.6 issue, fixing smaller issue with a function for error handling not being called due to a typo