modify clock_with_oop.js