Date and datetime js functionality added