Implement ajax GETs to preview templates on home page