make JSHint a lot happier
fix leaking global var intervalID