Fixed various IE bugs.

Fixed page render issue on IE, sample data export issue on IE, and export returning JSON that was breaking IE.