`initClickEvent` is not used in this file. If this supposed to be public method could we make this file an AMD module? By doing this we could avoid globals and make the code more readable.