add externs.js generation