Style fix.

There must be a space between 'if' and the first
'('.
Add brackets to ifs with multiline comments.

This was done as per gwagner's review requests for integrating vttjs
into Gecko.