added missing extension .js to the widgets folder and fixed the global namespace