Make sure image attribute is cleared if set to null

If 'to' is null $.css acts as a getter, so in this case change
it to empty string to clear the style.

Bug: 69531
Change-Id: I61d132a11730b6d124e81635d2f930f7b17d9605