Bug 988697: Adding a unit test for idletimer.js, r=timdream

`jshint` error here.