Added mobile/web app date validation logic

Isolated customised javascript