fix: bootstrap file decorators
refactor: change detection of elements to instanceof class (allows custom overriden elements)