array successfuly pass to javascript and checkpoints are working
favourite working (roles change)