working search dates with datejs