Fixes function declaration for strict mode