Javascript implementation of BERT serialization (Binary ERlang Term).