add director.js