revise javascript notes