Removing last sections of php from index.html