Gh369 clone repository

#369 
by external code, you mean the one between the <fx:Script> tags? 
or do you refer to the component (and that I should not use the Resources class in it)?