Changing status using JS

NOT YET COMPLETE