added js visualize