Let scale and pageNum be defined as HTML attributes