Beacon provides JavaScript with a general purpose application event framework for global application events as well as notifications targeting only certain objects.