Sending to more than one photon using Javascript

This is often a good start: Tutorial: Getting Started with Spark.publish()