Move delete js code to javascript file and and add searcch grid readonly