Seeking help with my Pomodoro Clock

Hi Guys! I’m making some headway with my clock, but I’m having an issue. I’m using FlipClock.js. There seems to be a 2 second lag when I start the timer. I want an alert to pop up when the clock reaches 0 (I’ll eventually change this so that the break timer is triggered), but the alert pops up at 2 seconds. I’m using an external script to run FlipClock–is this why there’s a lag? The stop button that I created seems to stop the clock immediately. Here’s a link: The clock looks pretty messy right now–I apologize!