Fix error when embedding script in a single page.
Fix error when embedding script in a single page.

This script works well when including it into an external file, but it fails when embedding it in the same file. This fixes it by always escaping it, which will work in embedded and external documents.
GerHobbelt/jquery-hashchange,GerHobbelt/jquery-hashchange,GerHobbelt/jquery-hashchange