A scalable, event-driven javascript network architecture with controlled component edges for developing reliable web applications