js on status and add status button