sample javascript UI for click stream