Correctly use cssClass set in custom formatter.

The div string is being pushed to stringArray even before the custom
formatter was called. This was causing the cssClass set in the custom
formatter to be ignored for the cell. Becomes extremely messy if each
cell value determines the cssClass.