Update TimeField.js

This allows to use JSON format to store regex as a string and evaluate it later on into RegExp object.

Note that it is not allowed to store RegExp (JS native) objects in JSON.

Also fixes possible problem with maskString if it is not __:__:__, but __:__.