added new version of renderer script and accompanying test html page