Adding a question on javascript