put jquery on top
validation update for error and correct target url