Assume you have a resource file MyResources.resx with a name/value pair of "TestValue/TestText"
var myText = '<% = Resources.MyResources.TestValue%>';
An easy workaround can be to pass the localized text to the procedures being called.
Created By: amos 6/14/2013 5:58:13 PM
Updated: 6/14/2013 6:06:52 PM