The value of the variable will be 2 once all the dust has settled.
The main thing which isn't recommended is using 2 different JS files, as Google PageSpeed, and Yahoo YSlow recommends, it's best to have all your Javascript codes in the same file.
as far as same event handlers, well, in all honesty, I see no reason why to do that, and it'll only make your code readability lousier.