Should fix #40

Passing object to CustomEvent detail issue with new greasemonkey versions