added secret.js example