Add allow cors for IE in view.js