refatctoring the batch js/ adding toggle status function to handle toggles for open and activate
added error message for activate no response if the batch is not already open for that location
adding fixtures for registration question