added ajax functionality to crowd ui. todo: maintaining history states