note on javascript added