Using generic global object to store velocity

Instead of always using window., even when Zepto or jQuery are loaded,
we pass a global argument to the declaring function depending on the
library.