Add underscore.js, simplify poll method, add `handler` property.
Minor simplification.