Fixed mardown rendering bug.
The wrong signature of `$()` was being used
wrong: http://api.jquery.com/jQuery/#jQuery1
right: http://api.jquery.com/jQuery/#jQuery2

Instead of implictly calling parseHTML, call it explicitly.
closes #5943
Update JS markdown tests.
Merge pull request #5944 from jdfreder/i5943

Markdown rendering bug fix.