updated poller to use minified js