APL interpreter in JavaScript