Comment of the alogrithm +fix include of moment.js