javascript notes updated