Changing css :target to js two-state button