websocket: add remote javascript-api in fhem.js