Fix console problem for IE9
Fix "invalid mime type error" response