Fixed some typos and added a shortcut to call dateToStr in index.js.