window.expansions = require("npm-expansions")
var $ = require("jquery")
var fadeDuration = 200
var clickCount = -1

var updateExpansion = function(event) {

  if (++clickCount > 10) {
    return window.location = "https://github.com/npm/npm-expansions"
  }

  var expansion = expansions[Math.floor(Math.random()*expansions.length)]
  $("#npm-expansions").text(expansion)
  return false
}

$(function(){
  updateExpansion()
  $("#npm-expansions").on('click', updateExpansion)
})

@@ -69,31 +69,8 @@
 y%22)%0A
-var fadeDuration = 200%0A
 var 

Remove fadeDuration declaration from npm-exapnsions following #360