$userId = $_REQUEST['id'];
$usersJson = json_encode($users);
$cardsJson = json_encode($fin);
var getData = '<?php echo $cardsJson; ?>';
var currentUser = '<?php echo $userId; ?>';
var users = '<?php echo $usersJson; ?>';
data: getData,
comments: {currentUser: currentUser},
users: users,