Finished up rough JS for builder