A client/server framework for clues.js