"Use namespaced globals" style for JavaScript lib