Perhaps use the ve.bind (we can talk about it) and also make sure to have only one var statement in the scope, and at the very top of that scope (let's talk about using grunt).