corrected bug in javascript on the status indicators on the user show page