Neater approach to loading assets when widget is active