Temporary workaround for error when using datejs to format date string. Now using javascript's standard Date functionality only.