javascript dir for learning