The if-clause in JavaScript