add TimerPattern.js