Move 'use strict' inside function