Bug 1049312 - Fix warnings in toolkit/loader.js