JSToHTML: fix no-? bug.

Fix a bug where a file that had no ? in the link wasn't fetched
properly.
Changelog: add updates.