got rid of jQuery. Created Clock class