Minimal (and incomplete) javascript interpreter in pure Erlang