Context menu/chrome xhr get to js var and sends to rpc