Format document to PhET standards