Called the RPC service using Javascript. It doesnt't uses the word entered by the user yet