minified repo.js had bugs