erlang code-style javascript