refactor widget separation
Merge pull request #122 from BrandyMint/aleksxor/4522-logger-to-jsonp

#4522 refactor widget separation