Add buy.html, refactor lightbox javascript, refactor ajax