Fix naked ISBN references.

The regular expression for the ISBN prefix did not accept an empty prefix,
and the escaping was incorrect (String.prototype.replace with string arguments
only replaces *once*; you need to use a regexp with the 'g' option to
replace all occurrences).

Change-Id: Id987c11ad660b8e9cc2f8baa0d98addf67b8b761