Solved bug with the Date object, working in Firefox / Chrome / Safari now.