Templating flash for Semantic-UI. Add optional timeout & refract code