Add some APIs into web view.