Fix persistent.js not being in background