The only potential downside to simplifying the if statement is if $.isFullScreen() isn't guaranteed to return a bool, and if setFullPage requires a bool. I think it's all good in this case (though to be truly sure we'd want to coerce the values we get out of the browser in $.isFullScreen()). I would say it's also fine to leave the statement as is.