[ticket/12372] Use $() instead of jQuery() in core.js for toggleDisplay

PHPBB3-12372