accept JS files as additional output (fixes #111)