Refactored javascript; mostly websocket related stuff
Mad changes

	../foneem-micro.pem