Remove externals
Use strophe over BOSH. Better than XMPP
Sample embedded page (text content)
Include strophe for compilation.
Compiled chat.js
1. Change CSS.
2. Use Strophe to connect to XMPP.