Update - remove bottom line “required” and fix javascript code