[fix] provide reference of current edited section to js
Merge branch 'master' into next