Fix issue with script tags