Fixed an issue with IE7

Fixes #27
Merge pull request #28 from kenshinthebattosai/working

Fixed an issue with IE7