added and comment to setInterval function
Merge branch 'master' into gh-pages