javascript exercises #1