Updated datehelper.js