Smack or JSJaC?

I want to develop a web-based jabber client which connects to Openfire

what should i use ?? the smack client library or the JSJaC ???

and why ??