If Else Javascript With Question