Bug 898125 - Add 'use strict'; and make changes accordingly [r=mbrubeck]