Escape JS strings in script tags.