Add throughput.js and rename ui.js to main.js