js for polledit
deal with checkbox