Updated for jsFiddle.