JavaScript II exercises