MUMUP-1331 : add target where needed

Adds target to the anchor tags for apps utilizing the `target` parameter on the server side. If blank it will fad (same window/tab).

Also did some performance tuning (bind once) and code cleanup on commented out code.