Remove additional context and add src attribute support for script tags.