deleting innecessary test of button js