Only because there is only the WebKit engine available on iOS, it's not like the processor does anything special with regards to JS, if Apple opened up to using additional HTML/JS engines in iOS 14 it would be powerful for all the alternative engines as well.