A JavaScript cost visualization tool