If any day you want to develop something more standard, you'll see Javascript is the standard. Also, you can't implement an AJAX site/functionality, without Javascript.

In short, it is better and more universally accepted to use Javascript for client-side functionality. The thing is, it is regardless what browser or platform you developing for, it is what sort of standard will you upheld for the application.