browser alert fix, canvas redraw when taking break, changed JSON for /activity