MIP.watch('isLoading', function(newVal) {
document.getElementById('loadingMask').style.display = newVal ? 'flex' : 'none';
});
MIP.watch('menuOpen', function(newVal) {
var menu = document.getElementById('navbarMenu');
if (newVal) {
menu.classList.add('active');
} else {
menu.classList.remove('active');
}
});