find number is positive or negative in javascrip