Fixed case-sensitivity issue with hasEventListener. Fixes #34