we might need to do the same for the other polyfills that are suppose to work on nodejs as well.