Enhanced web.js with dynamic flag