flagging now has jquery magic