Fix background polling and update underscore.js