Adding parenthesis for if for JSLint