remove deprecated moment.lang; rename function