add error message for 404s, css changes, and reworked ajax request