29744: port method js and file changes to vanilla

@kevinsproles @tylertadej - this is just a heads up. I'll pull this in.