fixes url matching.  See https://github.com/futurepress/epub.js/issues/119
build