I have the following code:
function someMethod() { $(obj).click(function {}); }
someMethod is called twice and thus click event is binded
Or use jQuery's one() function which is similar to on() but only fires the event once, even if you bind it multiple times.
http://api.jquery.com/one/