Date picker requires a js date

It was getting passed a value from moment.js

Fixes #779.
Merge pull request #851 from ahinz/fix/779/fix-js-search-typo

Date picker requires a js date