How Does Javascript Execute Code Remotely