Update converter.js

add code to allow no targets