Added Client-side Connections.
Made JS compressable with Closure Compiler.