Add main.iefix.js

Internet Explorer-only fixes. Commit of main.js is still WIP.