adding polyfill for IE in base.coffee