function passed to setInterval needs to be in a closure
Merge pull request #567 from Wikia/bugid-100469-wikialoader

function passed to setInterval needs to be in a closure