Don't include closeOnClick: true in javascript, so it defaults to global configuration