Removed old record edit javascript