fix scriptsrc snippet