fix bugs and update VldRulesLib.js

setInterval in IE doesn't allow to pass parameters to callback