CakePHP Plugin - Convert model validation rules to JavaScript and apply on the frontend using jQuery