I put pagination buttons in the viewPurchases.html page. All the JavaScript is still inline, not sure how I feel about that.
Still need to do:
Comments
Storing images(deployment purposes)