Fix deprecation warning from Moment v2.8