Simple Javascript library for recurring events