Changed to JS calling convention

I assume the Clojure calling convention is incorrect here.