added idle.js
timer with idle timeout