changes to page styling and ajax functions