Abstract Poller in coffee script