Added conditional to enqueue scripts only for widgets and customizer