Fix js issue, now links who ends with . or , works.