Bug:1394458 Fix SM UI with Windows browsers. Do an explicit check for deps to be loaded.

Change-Id: I18ba67c89a81512e21f3202d0582eab3a085d479
Merge "Bug:1394458 Fix SM UI with Windows browsers. Do an explicit check for deps to be loaded."