fix location of <script> tags, fixes #14