remove extra html and implement headers, add renderObjs