Apply a filter to the `<script>` tag for enqueued scripts in the same way a filter is applied to the `<link>` tag for enqueued styles.

Fixes #13592
Props quietnic, MikeHansenMe


git-svn-id: https://develop.svn.wordpress.org/trunk@30403 602fd350-edb4-49c9-b593-d223f7449a82