html: Add calling remote methods in torcconnection.js