Personal conditionals modifications

javascript modified