[chore] Refactored js to use global object

Split code into separate files
Removed financial-table-widget.js