Just because it's in a browser doesn't mean it's remote access. Javascript APIs can be accessed locally.