javascript syntax homework done