add AJAX and code for revealing/hiding statuses