I believe the problem is your time() method on line 189 of script.js; there's no element with id "time".
I believe the problem is your time() method on line 189 of script.js; there's no element with id "time".