added token button for barchart.html, minifing ws function in app.js