add js app inactivity and timer
save exercise time and inactivity