Add external JS file with array of function widgets