Updated prattle to include jStorage for chats, added an eventlistener for window.navigator.offline, and opened up a generic event api for passing data from prattle