How To Program With Javascript To See If Three