We used jQuery validation plugin in the login and registration pages and for more private functions.
The difficulties we encountered were mainly on the game page where we needed to add additional characters and functionality.