fixed warnings
throw exception instead of returning shit
ignore unused events
Merge remote-tracking branch 'upstream/master' into Fixed_Warnings
ouch nearly i broke stuff
fixed javascript spelling
Merge pull request #301 from JanEggers/Fixed_Warnings

fixed warnings