Created a base class for itemRenderers in ActionScript. Modified the list control in JavaScript to follow a similar pattern to the ActionScript version where the list is build using itemRenderers. Still more work to do to bring the JavaScript closer to the ActionScript side.