M101JS homework week 6 completed