Unable to find functions added via addFunction

Hi,

I was wondering if anyone encountered an issue with executing Vaadin JavaScriptFunctions on a BlackBerry browser.
JavaScript.getCurrent().addFunction(
functionName123
, new JavaScriptFunction() { … });
JavaScript.getCurrent().execute(" //Code that uses
functionName123
");
The code above works perfectly fine on Chrome/Firefox/IE, but on the BlackBerry browser I get this error on the console:
ReferenceError: Can’t find variable:
functionName123

Using the BlackBerry 9900 simulator.