Fix events.

jQuery needed to be included first.