Add internet permission
Add implementation
Update js interface