Pure timer JavaScript plugin