Map<String, Boolean> bindingClientProcessed = new HashMap<String, Boolean>();
for(ComponentReference reference : component.getReferences()) {
for(Binding binding : reference.getBindings()) {
JavascriptProxyFactory jsProxyFactory = javascriptProxyFactories.getProxyFactory(binding.getClass());
String bindingProxyName = jsProxyFactory.getJavascriptProxyFile();
//check if binding client code was already processed and inject to the generated script
if(bindingProxyName != null) {
Boolean processedFlag = bindingClientProcessed.get(bindingProxyName);
if( processedFlag == null || processedFlag.booleanValue() == false) {
generateJavaScriptBindingProxy(jsProxyFactory, pw);