JC: added ajax code to action copy. spec passes.