Shorten if/else to ternary expressions in WebStart.php

Change-Id: Ia12af16e1a6346fac169d5c2a2eee330050bd149
Merge "Shorten if/else to ternary expressions in WebStart.php"