Bash Check If Element Is Visible Jquery