Fix merge method variable (re)naming + dead code removed

Hi,

I've just dicovered ender & valentine in particular, really nice projects.
So, I've checked valentine with [JSCritic](http://jscritic.com) a very nice tool by kangax.
It helped me to discover small mistakes and omissions ;)

So here is my first PR !