Annual report pursuant to Section 13 and 15(d)

STOCKHOLDERS' EQUITY (Details Textual)

v3.10.0.1
STOCKHOLDERS' EQUITY (Details Textual) - USD ($)
1 Months Ended 12 Months Ended
Oct. 12, 2017
Jul. 31, 2018
Jul. 16, 2018
Dec. 31, 2018
Dec. 31, 2017
Sep. 12, 2017
Aug. 31, 2014
Class of Warrant or Right [Line Items]              
Stock Issued During Period, Shares, New Issues   1,355,000          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights       5,318,747      
Class of Warrant or Right, Exercise Price of Warrants or Rights   $ 4.00          
Common Stock, Shares Authorized       80,000,000 80,000,000    
Convertible Preferred Stock, Shares Issued upon Conversion   2,785,000          
Stock Issued During Period, Value, New Issues       $ 15,025,078 $ 7,054,865    
Stock Issued During Period On Exercise Of Warrants, Value         2,963,259    
Proceeds from Warrant Exercises       $ 0 2,963,259    
Stockholders' Equity, Reverse Stock Split     At a special meeting held on July 12, 2018, our stockholders approved an amendment to our certificate of incorporation to affect a reverse split of our common stock at a ratio between 1:5 to 1:10 and authorized the Board to determine the ratio at which the reverse split would be. The Board authorized the ratio of the reverse split, and effective at the close of business on July 16, 2018, the Company implemented a 1-for-10 reverse stock split of its outstanding common stock. The accompanying consolidated financial statements and accompanying notes to the consolidated financial statements give retroactive effect to the reverse stock split for all periods presented. The shares of common stock that the Company is authorized to issue remains unchanged at 80,000,000 and the par value remains at $0.00001 per share. Accordingly, stockholders' equity reflects the reverse stock split by reclassifying from common stock to additional paid-in capital an amount equal to the par value of the decreased shares resulting from the reverse stock split.        
Share Price   $ 4.00          
Proceeds from Issuance or Sale of Equity   $ 16,560,000          
Class of Warrant or Right, Date from which Warrants or Rights Exercisable   Jul. 31, 2023          
Net Proceeds from Issuance or Sale of Equity After Deducting Underwriting Discounts and Commissions and Related Offering Expenses   $ 15,000,000          
Stock Issued During Period, Value, Stock Options Exercised         $ 0    
Warrant [Member]              
Class of Warrant or Right [Line Items]              
Class of Warrant or Right, Number of Securities Called by Warrants or Rights   4,140,000          
Series B Preferred Stock [Member]              
Class of Warrant or Right [Line Items]              
Convertible Preferred Stock, Shares Issued upon Conversion         122,751    
Conversion of Stock, Shares Converted       18 23    
Preferred Stock, Shares Outstanding       0 18    
Preferred Stock Convertible Beneficial Conversion Feature       $ 1,448,945      
Convertible Preferred Stock, Shares Issuable upon Conversion       96,284      
Series C Preferred Stock [Member]              
Class of Warrant or Right [Line Items]              
Stock Issued During Period, Shares, New Issues   1,114          
Preferred Stock, Shares Outstanding       473 0    
Preferred Stock Convertible Beneficial Conversion Feature       $ 2,241,795      
Convertible Preferred Stock, Terms of Conversion   Series C Preferred Stock, each of which is convertible into 2,500 shares of Common Stock​​​​​​​, together with a Series E warrant to purchase 2,500 shares of common stock          
Share Price   $ 10,000          
Stock Issued During Period, Value, Stock Options Exercised       $ 641      
October 2017 Registered public offering [Member]              
Class of Warrant or Right [Line Items]              
Stock Issued During Period, Value, New Issues $ 7,760,000            
October 2017 Registered public offering [Member] | Series B Preferred Stock [Member]              
Class of Warrant or Right [Line Items]              
Stock Issued During Period, Shares, New Issues 41.0412949            
Shares Issued, Price Per Share $ 100,000            
Convertible Preferred Stock, Shares Issued upon Conversion 5,337            
Convertible Preferred Stock, Total Number of Shares Issued upon Conversion 219,037            
August 2014 Underwritten Offering [Member]              
Class of Warrant or Right [Line Items]              
Class of Warrant or Right, Number of Securities Called by Warrants or Rights             970
Common Stock [Member]              
Class of Warrant or Right [Line Items]              
Stock Issued During Period, Shares, New Issues       1,355,000 195,438    
Common Stock, Shares Authorized         80,000,000 40,000,000  
Stock Issued During Period, Value, New Issues       $ 14 $ 2    
Preferred Stock, Shares Outstanding       1,602,500      
Stock Issued During Period On Exercise Of Warrants, Value         2    
Stock Issued During Period, Value, Stock Options Exercised         $ 0    
Common Stock [Member] | October 2017 Registered public offering [Member]              
Class of Warrant or Right [Line Items]              
Stock Issued During Period, Shares, New Issues 195,438            
Convertible Preferred Stock Conversion Price $ 18.7375            
Series D Warrants [Member] | October 2017 Registered public offering [Member]              
Class of Warrant or Right [Line Items]              
Class of Warrant or Right, Number of Securities Called by Warrants or Rights 310,856            
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 17.80            
Stock Issued During Period On Exercise Of Warrants, Value $ 7,800,000            
Common Stock, Conversion Basis 0.75            
Proceeds from Warrant Exercises $ 7,100,000