return proper css class for flash object

resolves #51