Got rid of window. in the breakTimer function.