Regression: Ensure jQuery selector doesn't happen on hashes containing / symbol

This can cause an error when you refresh the page with the editor open

Change-Id: I6ab88b2b6daadfdc73fd5bb053cfa2f0c9155124