An infrastructure for tractable verification of JavaScript programs