valid-targets.js example fix