New Form Layout:Date field is not working properly in Script Embed