require and fix up sankey.js
remove unnecessary format
only show the first 4 characters of the tx id
inline css