recommendation js model
format date using momentjs