Javascript coding test.