JC: fixed ajax bug for new/edit by adding element id. refecotering views. More CN. spec passes.