Annual report pursuant to Section 13 and 15(d)

STOCKHOLDERS' EQUITY (Details Textual)

v3.8.0.1
STOCKHOLDERS' EQUITY (Details Textual) - USD ($)
1 Months Ended 12 Months Ended
Oct. 12, 2017
Feb. 08, 2016
Nov. 29, 2016
Nov. 23, 2016
Apr. 20, 2016
Apr. 15, 2016
Dec. 31, 2017
Dec. 31, 2016
Nov. 30, 2016
Apr. 13, 2016
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights             11,830,074      
Common Stock, Shares Authorized   40,000,000         80,000,000 40,000,000    
Stockholders' Equity, Reverse Stock Split   At a special meeting held on February 8, 2016, the Company’s stockholders approved an amendment to the Company’s certificate of incorporation to effect a reverse split of the Company’s common stock at a ratio between 1:5 to 1:10 in order to ensure that adequate authorized but unissued shares would be available for anticipated future financings, and to satisfy requirements for the continued listing of the Company’s common stock on the NASDAQ Capital Market. In addition, the proposal approved by the stockholders provided that if the reverse split was effected, the number of shares of common stock that the Company is authorized to issue remained unchanged at 40,000,000. The Company’s stockholders further authorized the board of directors to determine the ratio at which the reverse split would be effected by filing an appropriate amendment to the Company’s certificate of incorporation. The board of directors authorized the ratio of the reverse split on February 24, 2016, and effective at the close of business on March 4, 2016, the Company’s certificate of incorporation was amended to effect a 1-for-10 reverse split of the Company’s common stock (the “2016 Reverse Split”). All share and per share numbers included in these consolidated financial statements give effect to the 2016 Reverse Split.                
Stock Issued During Period, Value, New Issues             $ 7,054,865 $ 15,496,864    
Stock Issued During Period On Exercise Of Warrants, Value             $ 2,963,259 652,537    
Series A Preferred Stock [Member]                    
Class of Warrant or Right [Line Items]                    
Conversion of Stock, Shares Issued             4,533,356      
Preferred Stock Value             $ 0 $ 865,136    
Conversion of Stock, Shares Converted             68      
Preferred Stock Shares Outstanding             0 17    
Preferred Stock, Convertible, Beneficial Conversion Feature               $ 3,179,981    
Series B Pre-Funded Warrant [Member]                    
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights           $ 0.01        
Warrants Issued To Purchase Common Stock, Shares         1,908,021 1,908,021        
Public Offering Price Per Share Of Shares And Warrants           $ 2.12        
Series A Pre-Funded Warrant [Member]                    
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Outstanding           3.04        
Public Offering Price Per Share Of Shares And Warrants           $ 2.13        
Series Z Convertible Preferred Stock [Member]                    
Class of Warrant or Right [Line Items]                    
Warrants Issued To Purchase Common Stock, Shares           492,957        
Preferred Stock Value                   $ 1,062,000
Series B Preferred Stock [Member]                    
Class of Warrant or Right [Line Items]                    
Convertible Preferred Stock, Shares Issued upon Conversion             1,227,485      
Preferred Stock Value             $ 995,782 $ 0    
Conversion of Stock, Shares Converted             23      
Preferred Stock Shares Outstanding             18 0    
Preferred Stock, Convertible, Beneficial Conversion Feature             $ 1,448,945      
Underwritten Offering 2016 [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period, Shares, New Issues         1,871,321          
Class of Warrant or Right, Exercise Price of Warrants or Rights                   $ 2.13
Stock Issued During Period, Value, New Issues         $ 8,000,000          
Proceeds from Issuance Initial Public Offering         $ 7,200,000          
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 D warrants [Member]                    
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights 3,108,538                  
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 1.78                  
Common Stock, Conversion Basis 0.75                  
Proceeds from Warrant Exercises $ 7,100,000                  
Stock Issued During Period On Exercise Of Warrants, Value $ 7,800,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 53,369                  
Convertible Preferred Stock, Total Number of Shares Issued upon Conversion 2,190,330                  
Ladenburg Thalmann [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period, Shares, New Issues           1,378,364        
Class of Warrant or Right, Exercise Price of Warrants or Rights       $ 1.50            
Warrants Issued To Purchase Common Stock, Shares       5,333,356            
Public Offering Price Per Share Of Shares And Warrants       $ 100,000            
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right       66,667            
Ladenburg Thalmann [Member] | Series A Preferred Stock [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period, Shares, New Issues       68            
Convertible Preferred Stock, Shares Issued upon Conversion       4,533,356            
Number Of Securities Each Preferred Stock Converted       66,667            
Ladenburg Thalmann [Member] | Underwritten Offering 2016 [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period, Value, New Issues     $ 9,200,000              
Proceeds from Issuance Initial Public Offering     $ 8,300,000              
February 2013 Public Offering [Member]                    
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights [1]             38,750      
Class of Warrant or Right, Exercise Price of Warrants or Rights [1],[2]             $ 1.5      
Over-Allotment Option [Member] | Series A Pre-Funded Warrant [Member]                    
Class of Warrant or Right [Line Items]                    
Conversion of Stock, Shares Issued           492,957        
Over-Allotment Option [Member] | Ladenburg Thalmann [Member]                    
Class of Warrant or Right [Line Items]                    
Warrants Issued To Purchase Common Stock, Shares       800,000            
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             9,704      
Common Stock [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period, Shares, New Issues             1,954,388 3,471,321    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                   48,273
Stock Issued During Period, Value, New Issues             $ 20 $ 35    
Stock Issued During Period On Exercise Of Warrants, Value             $ 20 $ 26    
Common Stock [Member] | October 2017 Registered public offering [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period, Shares, New Issues 1,954,388                  
Convertible Preferred Stock, Conversion Price $ 1.87375                  
Common Stock [Member] | Ladenburg Thalmann [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period, Shares, New Issues       800,000            
Common Stock [Member] | Over-Allotment Option [Member] | Ladenburg Thalmann [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period, Shares, New Issues       800,000            
Series B warrant [Member]                    
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights                 $ 1.50  
Series A Warrants [Member]                    
Class of Warrant or Right [Line Items]                    
Warrants Issued To Purchase Common Stock, Shares           3,286,385        
Warrants Issued To Purchase Common Stock, Shares         3,779,342          
Series A Warrants [Member] | Ladenburg Thalmann [Member]                    
Class of Warrant or Right [Line Items]                    
Public Offering Price Per Share Of Shares And Warrants       $ 1.50            
[1] These warrants have a certain type of cash settlement feature or their exercise price for which the warrant may be exercised are subject to adjustment for “down rounds” and the warrants have been accounted for as derivative instruments as described in Note 3, with the exception of 9,704 warrants issued in August 2014.
[2] Due to the issuance of common stock at $1.50 per share as part of the November 2016 Underwritten Offering, the remaining outstanding warrants issued as part of the February 2013 Public Offering were adjusted to reflect the revised exercise price of $1.50 each.