fixed line endings
Rewrites inline <script> tags into AMD modules