1. A system for enabling real-time communication in an HTML5 application, the system comprising: a real-time communication signaling controller operating on one or more microprocessors; an extensible application programming interface (API) operative to facilitate interaction between said HTML5 application and said real-time communication signaling controller; wherein the extensible API comprises functions used to create a new package, extend an existing object, and extend a message.