STOCK-BASED COMPENSATION (Details 3) - $ / shares
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Warrants Outstanding    
Warrants issued 61,335 163,641
Weighted Average Fair Value    
Warrants issued $ 1.74 $ 0.11
Warrant [Member]    
Warrants Outstanding    
Outstanding, Beginning 111,129 9,090
Warrants issued 595,133 102,039
Expired
Forfeited options
Exercised
Outstanding, Ending 706,262 111,129
Weighted Average Exercise Price    
Outstanding, Beginning $ 8.25 $ 13.75
Warrants issued 2.91 8.25
Expired
Forfeited options
Exercised
Outstanding, Ending 3.27 8.25
Weighted Average Fair Value    
Outstanding, Beginning 0.11 0.11
Warrants issued 1.74 0.11
Expired
Forfeited options
Exercised
Outstanding, Ending $ 1.48 $ 0.11
Weighted-average Remaining Contractual Life (Years)    
Outstanding, Beginning 4 years 10 months 28 days 4 years 10 months 25 days
Warrants issued 4 years 3 months 11 days 5 years
Outstanding, Ending 4 years 2 months 19 days 4 years 10 months 28 days