add EventTimer to RGBModel.js, see #18
fix jshint issue