Making all functions to use strict mode. This fixed a leak of couple temporary variables. Moral of this is to always use strict mode.