StepDescriptor descriptor = loadByClass(step_class);
_descriptors_by_class.put(step_class, descriptor);
_descriptors_by_type.put(descriptor.getType(), descriptor);
_all_descriptors.add(descriptor);
}
<BUG>List<MuseResource> scripted_steps = _project.findResources(new ResourceMetadata(ResourceTypes.jsStep));

for (MuseResource step : scripted_steps)</BUG>
{
JavascriptStepResource step_resource = (JavascriptStepResource) step;

StepDescriptor descriptor = loadByClass(step_class);
_descriptors_by_class.put(step_class, descriptor);
_descriptors_by_type.put(descriptor.getType(), descriptor);
_all_descriptors.add(descriptor);
}
List<ResourceToken> tokens = _project.findResources(new ResourceMetadata(ResourceTypes.jsStep));
List<MuseResource> scripted_steps = _project.getUntypedResources(tokens);
for (MuseResource step : scripted_steps)
{
JavascriptStepResource step_resource = (JavascriptStepResource) step;
