elementaljs/elementaljs — pull request #21 by spilth (2014-06-13 14:02:40+00:00)
Title: `document` needs to be a JQuery object

In order to call `trigger` and `bind`, `document` needs to be a JQuery object.

Also, it looks like [`on` is preferred to `bind` when using JQuery 1.7+](https://api.jquery.com/bind/).