Infinite loop detection too strict

I'm not sure if this is on you or JS. Basically, it doesn't seem to like nested for loops.

This code only executes until 'I' gets to 3. and then triggers a 'possible infinite loop' and exits. Any suggestions?

for (var n = 0; n < 18; n++) {
set("fader_"+n,getProp("fader_"+n,"default"))
}
var widgets = getProp('fx_panel_1',"widgets")
for (var idx = widgets.length- 1; idx >= 0; idx--) {
var id = widgets[idx].id.split('@')[0]
for (var i = 1; i < 10; i++) {
var wid = id+i
console.log(wid)
var df = getProp(wid, 'default')
set(wid,df)
}
}

You can bypass the loop protection by adding // noprotect to your code. I'll add this info to the error message.