Fix button and popup not working on IE7
Merge pull request #28 from makern/ie7-fixes

Fix button and popup not working on IE7