@Metalmind Excellent, glad you got it working.
There is probably a way to get that raw script code running, but using an exteral js file as you did is definitely better.
I found there is a script in the head which is 404 code return, like this:
<head><script async src="http://p.to/web-static/dynaform/up.js"></script>
Is that mean I should update?
or where to remove it?
OK, No one answered.
That's not something added by core NodeBB, check your plugins or custom header.