Addded JS for alerts, in the future will also hold cross clients alerts via db and pub/sub alerts.
Changed implementation to always insert a subscriber, using only server side calls with 'upsert' to allow only one to register to db. Thus, not needing any custom allow/deny and more secure, as to not leak subscriber information.