javascript for date pick added
heading edited