Added datetime form field customization
Moved init javascripts into separate template