Bug 869565 - Fix strict errors and warnings in the browser console; r=me