Adding validation JS alert