Added error function as argument
Date format now in upperCase
While you are writing, mask.js will be autocompleting tokens if the last input is correct