Erlang Binary Term Format for Javascript