Your source file must be a valid MQL4 script. Providing invalid mql4 script may results to generate invalid JS file without any warning