offloading html, use json for data