Renamed formatBlock to formatblock to get better compatability with old safari