How To Use The If Function On Javascript