support for use_strict

Using both var and named functions