invoke strict mode in the top-level function wrapper