Update visualize.js

Updated formatting