added client-side changes for simple spam protection