javascript lab part #1