Javascript problem 2 done