Ignore what is in your view, you need to look at the resulting html as that is what is running in the browser. When IsUserVisible is true it will be;
var IsUserVisible = 'True';
$('#divUser').hide();
if (IsUserVisible == false) {
}
else {
}
'True' doesn't equal false so your else will always run. A cheap way to get what you want would be to update the view;
var IsUserVisible = @Model.IsUserVisible.ToString().ToLowerInvariant();
I've removed the single quotes and made it lower case. You might also have a logic problem as when IsUserVisible is true you hide the div and when it is false you show it so maybe you need
if (IsUserVisible == false) {
$('#divUser').hide();
}
else {
$('#divUser').show();
}