Array.from polyfill

Array.from polyfill
move this up to the previous call of maybeAddFunctions.