Small changes to html output to mimic wordpress caption class