Bug 865584 - Add null check for target script's type info when compiling 'new', r=dvander.