added class name to page titles (r(current class from json file)