Fixes #915 - inline_moderation.js

Make inline_moderation.js friendly to table-less themes.

I closed my old PR #917 and made a new one.