commit index-full file
added javascript for required fields