Working on the edit/replace link for the publication form.

![file replace js](https://cloud.githubusercontent.com/assets/1222368/2652892/21ca8788-bfb9-11e3-8f8c-ea292d476e90.png)
![file replace](https://cloud.githubusercontent.com/assets/1222368/2652891/21c887da-bfb9-11e3-80ee-fcec618d97da.png)
What left here is when uploading a file the text of the replace is not `Edit/Replace` but `Replace`. I think this is a minor JS work.