lecture js