javascript improved. tags validation added
edit advertisement improved, all errors in their places
conflict resolved