IE7 support

Some minor changes that make the plugin work in Microsoft Internet Explorer 7.