Advance in creating a form for creating and editing employees
moved JS functions in a separate file