created javascript skeleton for view/edit issue