fix link tag issue, fix javascript init