further update to google js style guide - fix conditional statements