Remove jQuery dependency.

1) Use addEventListener for window events.
2) Remove iframe fallback as only required for <= IE7
3) Remove dead code as a result of 1 & 2
4) Fix up dependencies.

Fixes #1 

This is entirely untested (see #2)