search: brief_links argument usage fix
comments: stops toggle event propagation

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
comments: JavaScript moved to static

* Moved JavaScript to toggle comments in separate static file;
* jslint on aforementioned JS.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>