[ticket/11563] Remove unused JS variables

Remove unused JS variables from posting_buttons

PHPBB3-11563