Roughly fixes the plugin to work in Firefox and IE7+.