quick-post-controls.js: fix javascript interactions