fixes for strict mode

A couple fixes to allow running with --harmony and --use-strict