Script fragment for passing json data to page

What do you think to this?

Added ability to include <script data-pjax-data> anywhere in the response and have it appended to the pjax response

You can put code to be executed in there, but the main idea was to be able to pass data to the page that the pjax:end event can use