Moved "use strict" inside functions