tweak json/javascript rendering