Javascript:Extract href from <a> markup