Improve javascript (src/parsley/ui.js).