A Javascript implementation of the token feature of the Nxt Cryptocurrency