Switching to js date picker