Min max redo

PR for https://github.com/moment/moment/issues/1548