InternetResource resource = resourceBuilder.getResource(key);
this.setKey(resource.getKey());
} catch(ResourceNotFoundException ex){
// If script not registered, append it to builder.
setLastModified(new Date(resourceBuilder.getStartTime()));
resourceBuilder.addResource(key,this);
}
String script ;
if (getJavaScript().startsWith("/")) {
// remove lead / for classloader covention.
script = getJavaScript().substring(1);