created ClientRenderer Class and tests to provide more robust JS Client Generation