Make pasting inline into <script> tag possible

Re https://github.com/jquery/jquery-mobile/issues/7300