Fixed time bug in web.js