Only load W0 JavaScript and CSS when needed. See bug 49786.

Change-Id: Iac6ac34c2043172a353b9c66160697786610ca12