Secrets with Rails and Javascript