| STOCK-BASED COMPENSATION (Details 1) | 6 Months Ended | |
|---|---|---|
| Jun. 30, 2017 | Jun. 30, 2016 | |
| Expected dividend yield | 0.00% | 0.00% | 
| Minimum [Member] | ||
| Risk-free interest rate | 1.77% | 0.85% | 
| Expected term of option | 5 years | 6 years | 
| Expected stock price volatility | 76.61% | 73.46% | 
| Maximum [Member] | ||
| Risk-free interest rate | 2.29% | 1.86% | 
| Expected term of option | 7 years 10 months 28 days | 9 years 22 days | 
| Expected stock price volatility | 77.36% | 81.59% | 
| X | ||||||||||
| 
- Definition The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average expected volatility rate of share-based compensation awards. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Expected term of share-based compensation awards, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |