cube processor: js