Add view-source function