Tidy up JSScriptRef API
Created attachment 180235 [details] Patch
Committed r138199: <http://trac.webkit.org/changeset/138199>
This broke testapi.