Added definitions and tests for pickadate.js