upload javascript and finalize the homework