Add support for IE8

Small tweaks to support IE8. Changed rivets event listener methods to
jQuery binds. Also added a Node enum declaration