A sample javascript client/server app