Reduce global VAR http://jsfiddle.net/LmTXD/1/