Converted JavaScriptGetText and JavaScriptGetStaticUrl.