javascript syntax.. a wonderful thing