Of course there is native code - I'm 100% sure there is no CPU that executes Javascript & HTML5 on the metal. All the stuff that renders HTML5, runs the Javascript interpreter, exports APIs, the telephony framework and the whole sandbox management is definitely not written in either Javascript or HTML5.