Example of gocoin-js in use