add time property, and script.js