javascript notes