Use svg images when possible and fix an IE bug with background image

See https://bugzilla.wikimedia.org/show_bug.cgi?id=49178