Html Input Date Set Value Javascript Function Expression