Deal with inline scripts