Added CustomEvent constructor feature detect
Merge pull request #1416 from AlbertoElias/customevent

Added CustomEvent constructor feature detect