Detect the JS files that are being required inside of a widget JS file

Per https://github.com/bp323/3akai-ux/commit/cdca057b2f1ab6ba5418824763496ca35f34cf95#commitcomment-6358505 we should come up with a way to find all JS files that are being required inside of a widget JS file to be able to run our tests on them.
Will need `!$.isEmptyObject(localJsFiles)` here.