Fixes to allow nodeunit to run under --use_strict