Correct the javascript links in the document search page.
At some point this file got lost in the branches, adding it back

Thanks to @mpriour for doing the original work on this template.
Include the correct path to the search template
Merge pull request #578 from iwillig/devJavaScriptPathFix

This pull request fix a couple of small path errors in the dev branch