Fix db_patcher.js from running in the background