changed all Date.now() to new Date() (http://jsfiddle.net/4L7tS/)