Remove json from class attribute. Add data-datetime-config attribute