Added function to parseUrls to datastore.js

This should work to dynamically inject evidence IDs based on the
pathname of the url.

This has only being demoed on my laptop, so it probably needs to be
checked on a website as well