Instead of adding a script tag, why not directly execute their snippet?

[webView stringByEvaluatingJavaScriptFromString:source]