Correct js-ref and better title attributes