3.4.x relationships j qs

Fixing the relationship JS problem to resolve #389