fix Poll.js case issue