[javascript/*] typeof is an operand and not a function/method - fix usage / remove parens