Rip out initialization of datepicker from onready function