Fixed code that insert <script> and <link> tags into <head> so that it works in xhtml pages.
Fixed code that insert <script> and <link> tags into <head> so that it works in xhtml pages.

zepheira/simile-ajax,zepheira/simile-ajax