Finish validation by JS