Passing initial ColumnDataSource data to JS

a question: We want to use data from a ColumnDataSource with our own JS code. We can tap into source.js_on_change(‘data’, <>) just fine, but how can we get the initial set of data? When rendering the site initially, the callback is not triggered, but obviously the data has to be accessible somehow.