-removed use of require so global moment instance is always used