Development looked at the JS version of your mod (by pressing the JS button) and the mod isn't working because a function name was changed to 'it':
It's possible that "it" is saved as a keyword and can't be used as a variable/function name, or the you had two functions named "it" at some point - that might explain why the error happened.
They also recommended that you name your variables properly. Try to avoid making duplicate variables in your code. The variables should descriptive - they should tell you what the variable does. Otherwise you may run into more errors down the road.