Create a blob url to download the file
Add the tnetbin.js library

For more information: https://github.com/tOkeshu/tnetbin.js
Use tnetstrings instead of json for binary wire exchanges

For more information, please see http://tnetstrings.org/