In reply to Thomas Herold.

That just uses buffering to scan the page rather than relying on the internal wp_enqueue API to build the code up.