added secret.js dependency