Triac moc3041 resistors
The 360 ohm resistor limits the current if the optotriac gets turned on at relatively high voltage. This could happen as a result of a transient (voltage or dv/dt)- the internal zero cross should normally inhibit it except near the zero crossing. 

The 330 ohm resistor prevents a sensitive gate triac from turning on if the leakage from the optotriac is high (which might typically happen at high temperatures). It may not be needed if the triac is relatively insensitive.