allow classes to be set in bootstrap_flash helper

Fixes issue #677