Moved polyfills out of utils into own file, moved above debug