Fix JSReplaceConstructor