create flag concept in bqDOMElement
change flags implementation from jQuery to vanillaJS