fix #13: JQuery validation extension does not work correctly