Issue #2231801 by criz, frob: Fixed raphael file detection.
Issue #2366421 by tanc, pmelab: Fixed black squares instead of throbbers on ajax buttons.