added jquery plugin feature and validate plugin