show-own-posts.js: fix a bug