Copy some original objects to eliminate #appendto, also converted affected script to #strict 2