Fixing missing moment js issue