javascript function syntax explained (1)