Added option to add a bar css class to markers