Client-side validation in "Edit Menu Item" page using javaScript.