fixed usage of momentJs