fixes #237, calling next if no files for js compiler
references #237, rel notes: