Addtions to generate repository address box

Used javascript model already in place for Citation. It is NOT working for me in Internet Explorer so requires more testing and possibly a fix. Works in Chrome and Firefox. Don't have Safari to test.
Merge pull request #49 from jmbewley/patch-19

Addtions to generate repository address box