start of thinking log for head first javascript