fixes for old versions of IE so they don't puke
IE fixes
Merge branch 'master' of github.com:michalgm/state_dem