Personal conditionals modification

javascript modified