Fixed background.js related errors in new storage sync mechanism