divide code into widger and tracker
Merge pull request #120 from BrandyMint/aleksxor/4522-logger-to-jsonp

#4522 refactor code into indepentent widget and tracker