moving enqueue to widget