Rails client side validation integrated with Parsley.js