fixes for xslt in the browser