existance check for secret.js