Removed attachEvent fallback since I've decided on IE9 as lowest version.
Cleaned some code.

Signed-off-by: Tobias Sjondin <tsjondin@op5.com>