added promises polyfill
fix for old browsers that don't support xhr.responseType = 'json'.