add javascript ajax for hit and stay buttons