Bug 872838 - Fix some JS strict warnings on startup. r=gavin